package com.cg.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cg.dto.StartQuizDTO;
import com.cg.entity.Quiz;
import com.cg.result.R;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 加
 * @since 2025-01-17
 */
public interface IQuizService extends IService<Quiz> {

    R startQuiz(StartQuizDTO startQuizDTO);

    String selectQuizByQuestionId(Long questionId);

    Long selectQuizIdByQuestionId(Long questionId);
}
